package com.javaweb;

import lombok.Data;


@Data
public class Teacher {
    private String id ;
    private String name ;

    /**
     * A static method for construct a teacher object.
     * @return
     */
    public static Teacher getTeacher() {
        return new Teacher() ;
    }

}
